<?php

namespace App\Http\Controllers\Api;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;

class CommonController extends Controller
{
    protected  function  response($status =200,$message ='',$data =null){
        return[
            'status'=>$status,
            'message'=>$message,
            'data'=>$data
        ];
    }
}
